package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void addAddress(AddressBook addressBook);

    List<AddressBook> selectAllAdderss();

    AddressBook selectByIdAddress(Integer id);

    void updateByIdAddress(AddressBook addressBook);

    void deleteAddress(Integer id);

    AddressBook selectDefault();

    void updateDefault(AddressBook addressBook);
}
